#pragma once
#include <array>
#include "../Memory.hpp"
#include "../GameTrace/GameTrace.h"

namespace AutoWall
{
	bool FireBullet(float MinDamage, void* LocalPawn, void* WeaponData, Vector3 vecFrom, Vector3 vecTarget, void* pTarget, float& Damage);
}

class CHandleBulletData
{
public:
	CHandleBulletData(const float Damage, const float Penetration, const float Range, const float RangeModifier, const int PenetrationCount, const bool Failed) :
		flDamage(Damage),
		flPenetration(Penetration),
		flRangeModifier(RangeModifier),
		flRange(Range),
		iPenetrationCount(PenetrationCount),
		bFailed(Failed)
	{
	}

	float flDamage;
	float flPenetration;
	float flRangeModifier;
	float flRange;
	int iPenetrationCount;
	bool bFailed;
};